package com.happycat.controller;


import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.aliyuncs.exceptions.ClientException;
import com.aliyuncs.exceptions.ServerException;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.happycat.ResponseHeaderModel;
import com.happycat.SysContants;
import com.happycat.config.HappyCatSecurity;
import com.happycat.mobile.enums.ShortMessageEnum;
import com.happycat.mobile.model.UserAccount;
import com.happycat.mobile.model.UserShortMessage;
import com.happycat.mobile.service.GenerateIdService;
import com.happycat.mobile.service.UserAccountService;
import com.happycat.mobile.service.UserShortMessageService;
import com.happycat.utils.AesUtils;
import com.happycat.utils.DateUtil;
import com.happycat.utils.ResponseModelUtils;
import com.happycat.utils.SmsUtils;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author liaoyong
 * @since 2020-07-24
 */
@RestController
@RequestMapping("/userShortMessage")
@Api(value = "短信", description = "短信接口")
public class UserShortMessageController {
	/*
	 * @Autowired private UserShortMessageService userShortMessageService;
	 * 
	 * @Autowired private GenerateIdService generateIdService;
	 * 
	 * @Autowired private HappyCatSecurity happyCatSecurity;
	 */
	/*
	 * @ApiOperation(value = "短信详情")
	 * 
	 * @RequestMapping(method = RequestMethod.POST, value = "/detail") public
	 * ResponseModel<UserShortMessage> detail(@RequestBody UserShortMessage
	 * userShortMessage){ return
	 * userShortMessageService.selectOne(userShortMessage); }
	 * 
	 * @RequestMapping(method = RequestMethod.POST, value = "/page")
	 * 
	 * @ApiOperation(value = "短信分页列表") public ResponseModel<Page<UserShortMessage>>
	 * Page(@RequestBody Pagination<UserShortMessage>page){ return
	 * userShortMessageService.pageList(page); }
	 * 
	 * @RequestMapping(method = RequestMethod.POST, value = "/add")
	 * 
	 * @ApiOperation(value = "新增") public ResponseHeaderModel add(@RequestBody
	 * UserShortMessage userShortMessage){
	 * 
	 * return userShortMessageService.add(userShortMessage); }
	 * 
	 * @ApiOperation(value = "编辑")
	 * 
	 * @RequestMapping(method = RequestMethod.POST, value = "/modify") public
	 * ResponseHeaderModel modify(@RequestBody UserShortMessage userShortMessage){
	 * 
	 * return userShortMessageService.modify(userShortMessage); }
	 */
	
	/*
	 * @ApiOperation(value = "获取验证码")
	 * 
	 * @RequestMapping(method = RequestMethod.POST, value = "/verifyCode") public
	 * ResponseHeaderModel verifyCode(@RequestBody UserShortMessage
	 * userShortMessage){
	 * 
	 * 
	 * }
	 */
	
}

